3 import java.io.Serializable;
6 public class Booking implements Serializable {
11 private static final long serialVersionUID = 1L;
12 private int bookingNumber;
13 private Date bookingDate;
14 private Client client;
19 public Booking(int bN , Offer offer,Client client) {
21 this.bookingNumber = bN;
24 //Booking date is assigned to actual date
25 this.bookingDate= new java.util.Date(System.currentTimeMillis());
29 public int getBookNumber() {
30 return this.bookingNumber;
33 public void setOffer(Offer offer) {
37 public Offer getOffer() {
42 public void setBookDate(Date bookDate) {
43 this.bookingDate = bookDate;
46 public Date getBookDate() {
47 return this.bookingDate;
50 public Client getClient() {
54 public void setClient(Client client) {